import 'dart:convert';

import 'package:flutter_deer/generated/json/base/json_field.dart';
import 'package:flutter_deer/generated/json/res_upload_oil_entity.g.dart';

export 'package:flutter_deer/generated/json/res_upload_oil_entity.g.dart';

@JsonSerializable()
class ResUploadOilEntity {
	String energyOrderCode = '';
	String energyOrderId = '';
	String suspendTime = '';
	int? energyOrderStatus = 0;

	ResUploadOilEntity();

	factory ResUploadOilEntity.fromJson(Map<String, dynamic> json) => $ResUploadOilEntityFromJson(json);

	Map<String, dynamic> toJson() => $ResUploadOilEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}